<template>
  <div>
    <van-list
      v-model="loading"
      :finished="finished"
      finished-text="没有更多了"
    >
      <van-cell v-for="item in searchTipListData" :key="item" :title="item" @click="tipClick(item)" />
    </van-list>
  </div>
</template>

<script>
export default {
  props: ['searchTipListData'],
  data () {
    return {
      loading: false,
      finished: true,
    }
  },
  methods: {
    tipClick(val) {
      console.log('tip -- ', val);
      this.$emit('tipClick', val)
    }
  }
}
</script>
 
<style lang = "less" scoped>
  
</style>